package com.androturka;

import java.util.ArrayList;
import java.util.Date;

public interface IDataAdapter {

	public interface IArrayListDataListener {
		public void dataArrived(ArrayList<Object> data);
	}

	public class EarthQuake {

		public Date date;
		public Double latitude;
		public Double longitude;
		public Double depth;
		public Double magnitude;
		public String location;
		public Double distance;

		public EarthQuake(Date date, Double latitude, Double longitude,
				Double depth, Double magnitude, String location) {
			
			this.date = date;
			this.latitude = latitude;
			this.longitude = longitude;
			this.depth = depth;
			this.magnitude = magnitude;
			this.location = location;
		}
	}


	public void getEarthQuakeList(final String METHOD_NAME,final String paramName, final String paramValue,
			final IArrayListDataListener dataListener);

}